package main

import (
	"exp/appConfig"
	"exp/cache"
	"exp/models"
	_ "exp/routers"
	beego "github.com/beego/beego/v2/server/web"
)

func main() {
	//获取文件配置
	appConfig.Init()
	//连接MySQL
	models.Init()
	//连接Redis
	cache.Init()
	//运行项目
	beego.Run()
}
